﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001403 RID: 5123
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainPartyHandlePendingActionScRsp : IMessage<TrainPartyHandlePendingActionScRsp>, IMessage, IEquatable<TrainPartyHandlePendingActionScRsp>, IDeepCloneable<TrainPartyHandlePendingActionScRsp>, IBufferMessage
	{
		// Token: 0x170040A0 RID: 16544
		// (get) Token: 0x0600E57E RID: 58750 RVA: 0x00265E56 File Offset: 0x00264056
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainPartyHandlePendingActionScRsp> Parser
		{
			get
			{
				return TrainPartyHandlePendingActionScRsp._parser;
			}
		}

		// Token: 0x170040A1 RID: 16545
		// (get) Token: 0x0600E57F RID: 58751 RVA: 0x00265E5D File Offset: 0x0026405D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainPartyHandlePendingActionScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170040A2 RID: 16546
		// (get) Token: 0x0600E580 RID: 58752 RVA: 0x00265E6F File Offset: 0x0026406F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainPartyHandlePendingActionScRsp.Descriptor;
			}
		}

		// Token: 0x0600E581 RID: 58753 RVA: 0x00265E76 File Offset: 0x00264076
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyHandlePendingActionScRsp()
		{
		}

		// Token: 0x0600E582 RID: 58754 RVA: 0x00265E80 File Offset: 0x00264080
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyHandlePendingActionScRsp(TrainPartyHandlePendingActionScRsp other) : this()
		{
			this.lFJLHJHPLGI_ = other.lFJLHJHPLGI_;
			this.kILHOKNHHBD_ = ((other.kILHOKNHHBD_ != null) ? other.kILHOKNHHBD_.Clone() : null);
			this.queuePosition_ = other.queuePosition_;
			this.retcode_ = other.retcode_;
			TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase egmblpjgicmcase = other.EGMBLPJGICMCase;
			if (egmblpjgicmcase != TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.LFCEFFHMLIG)
			{
				if (egmblpjgicmcase != TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.KIBAIMIKFED)
				{
					if (egmblpjgicmcase == TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.KPPFCHGDODL)
					{
						this.KPPFCHGDODL = other.KPPFCHGDODL.Clone();
					}
				}
				else
				{
					this.KIBAIMIKFED = other.KIBAIMIKFED.Clone();
				}
			}
			else
			{
				this.LFCEFFHMLIG = other.LFCEFFHMLIG.Clone();
			}
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E583 RID: 58755 RVA: 0x00265F37 File Offset: 0x00264137
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyHandlePendingActionScRsp Clone()
		{
			return new TrainPartyHandlePendingActionScRsp(this);
		}

		// Token: 0x170040A3 RID: 16547
		// (get) Token: 0x0600E584 RID: 58756 RVA: 0x00265F3F File Offset: 0x0026413F
		// (set) Token: 0x0600E585 RID: 58757 RVA: 0x00265F47 File Offset: 0x00264147
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool LFJLHJHPLGI
		{
			get
			{
				return this.lFJLHJHPLGI_;
			}
			set
			{
				this.lFJLHJHPLGI_ = value;
			}
		}

		// Token: 0x170040A4 RID: 16548
		// (get) Token: 0x0600E586 RID: 58758 RVA: 0x00265F50 File Offset: 0x00264150
		// (set) Token: 0x0600E587 RID: 58759 RVA: 0x00265F58 File Offset: 0x00264158
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JNJKMBIGMPE KILHOKNHHBD
		{
			get
			{
				return this.kILHOKNHHBD_;
			}
			set
			{
				this.kILHOKNHHBD_ = value;
			}
		}

		// Token: 0x170040A5 RID: 16549
		// (get) Token: 0x0600E588 RID: 58760 RVA: 0x00265F61 File Offset: 0x00264161
		// (set) Token: 0x0600E589 RID: 58761 RVA: 0x00265F69 File Offset: 0x00264169
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint QueuePosition
		{
			get
			{
				return this.queuePosition_;
			}
			set
			{
				this.queuePosition_ = value;
			}
		}

		// Token: 0x170040A6 RID: 16550
		// (get) Token: 0x0600E58A RID: 58762 RVA: 0x00265F72 File Offset: 0x00264172
		// (set) Token: 0x0600E58B RID: 58763 RVA: 0x00265F7A File Offset: 0x0026417A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170040A7 RID: 16551
		// (get) Token: 0x0600E58C RID: 58764 RVA: 0x00265F83 File Offset: 0x00264183
		// (set) Token: 0x0600E58D RID: 58765 RVA: 0x00265F9F File Offset: 0x0026419F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JIADKOFHHJM KPPFCHGDODL
		{
			get
			{
				if (this.eGMBLPJGICMCase_ != TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.KPPFCHGDODL)
				{
					return null;
				}
				return (JIADKOFHHJM)this.eGMBLPJGICM_;
			}
			set
			{
				this.eGMBLPJGICM_ = value;
				this.eGMBLPJGICMCase_ = ((value == null) ? TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.None : TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.KPPFCHGDODL);
			}
		}

		// Token: 0x170040A8 RID: 16552
		// (get) Token: 0x0600E58E RID: 58766 RVA: 0x00265FB9 File Offset: 0x002641B9
		// (set) Token: 0x0600E58F RID: 58767 RVA: 0x00265FD2 File Offset: 0x002641D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JGNHFJAGHKA LFCEFFHMLIG
		{
			get
			{
				if (this.eGMBLPJGICMCase_ != TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.LFCEFFHMLIG)
				{
					return null;
				}
				return (JGNHFJAGHKA)this.eGMBLPJGICM_;
			}
			set
			{
				this.eGMBLPJGICM_ = value;
				this.eGMBLPJGICMCase_ = ((value == null) ? TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.None : TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.LFCEFFHMLIG);
			}
		}

		// Token: 0x170040A9 RID: 16553
		// (get) Token: 0x0600E590 RID: 58768 RVA: 0x00265FE9 File Offset: 0x002641E9
		// (set) Token: 0x0600E591 RID: 58769 RVA: 0x00266005 File Offset: 0x00264205
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CKCNEGHAMGM KIBAIMIKFED
		{
			get
			{
				if (this.eGMBLPJGICMCase_ != TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.KIBAIMIKFED)
				{
					return null;
				}
				return (CKCNEGHAMGM)this.eGMBLPJGICM_;
			}
			set
			{
				this.eGMBLPJGICM_ = value;
				this.eGMBLPJGICMCase_ = ((value == null) ? TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.None : TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.KIBAIMIKFED);
			}
		}

		// Token: 0x170040AA RID: 16554
		// (get) Token: 0x0600E592 RID: 58770 RVA: 0x0026601F File Offset: 0x0026421F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase EGMBLPJGICMCase
		{
			get
			{
				return this.eGMBLPJGICMCase_;
			}
		}

		// Token: 0x0600E593 RID: 58771 RVA: 0x00266027 File Offset: 0x00264227
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearEGMBLPJGICM()
		{
			this.eGMBLPJGICMCase_ = TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.None;
			this.eGMBLPJGICM_ = null;
		}

		// Token: 0x0600E594 RID: 58772 RVA: 0x00266037 File Offset: 0x00264237
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainPartyHandlePendingActionScRsp);
		}

		// Token: 0x0600E595 RID: 58773 RVA: 0x00266048 File Offset: 0x00264248
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainPartyHandlePendingActionScRsp other)
		{
			return other != null && (other == this || (this.LFJLHJHPLGI == other.LFJLHJHPLGI && object.Equals(this.KILHOKNHHBD, other.KILHOKNHHBD) && this.QueuePosition == other.QueuePosition && this.Retcode == other.Retcode && object.Equals(this.KPPFCHGDODL, other.KPPFCHGDODL) && object.Equals(this.LFCEFFHMLIG, other.LFCEFFHMLIG) && object.Equals(this.KIBAIMIKFED, other.KIBAIMIKFED) && this.EGMBLPJGICMCase == other.EGMBLPJGICMCase && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E596 RID: 58774 RVA: 0x00266108 File Offset: 0x00264308
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.LFJLHJHPLGI)
			{
				num ^= this.LFJLHJHPLGI.GetHashCode();
			}
			if (this.kILHOKNHHBD_ != null)
			{
				num ^= this.KILHOKNHHBD.GetHashCode();
			}
			if (this.QueuePosition != 0U)
			{
				num ^= this.QueuePosition.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.eGMBLPJGICMCase_ == TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.KPPFCHGDODL)
			{
				num ^= this.KPPFCHGDODL.GetHashCode();
			}
			if (this.eGMBLPJGICMCase_ == TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.LFCEFFHMLIG)
			{
				num ^= this.LFCEFFHMLIG.GetHashCode();
			}
			if (this.eGMBLPJGICMCase_ == TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.KIBAIMIKFED)
			{
				num ^= this.KIBAIMIKFED.GetHashCode();
			}
			num ^= (int)this.eGMBLPJGICMCase_;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E597 RID: 58775 RVA: 0x002661E6 File Offset: 0x002643E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E598 RID: 58776 RVA: 0x002661EE File Offset: 0x002643EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E599 RID: 58777 RVA: 0x002661F8 File Offset: 0x002643F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.LFJLHJHPLGI)
			{
				output.WriteRawTag(24);
				output.WriteBool(this.LFJLHJHPLGI);
			}
			if (this.QueuePosition != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.QueuePosition);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			if (this.kILHOKNHHBD_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.KILHOKNHHBD);
			}
			if (this.eGMBLPJGICMCase_ == TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.LFCEFFHMLIG)
			{
				output.WriteRawTag(170, 4);
				output.WriteMessage(this.LFCEFFHMLIG);
			}
			if (this.eGMBLPJGICMCase_ == TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.KIBAIMIKFED)
			{
				output.WriteRawTag(242, 22);
				output.WriteMessage(this.KIBAIMIKFED);
			}
			if (this.eGMBLPJGICMCase_ == TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.KPPFCHGDODL)
			{
				output.WriteRawTag(146, 94);
				output.WriteMessage(this.KPPFCHGDODL);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E59A RID: 58778 RVA: 0x002662F8 File Offset: 0x002644F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.LFJLHJHPLGI)
			{
				num += 2;
			}
			if (this.kILHOKNHHBD_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.KILHOKNHHBD);
			}
			if (this.QueuePosition != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.QueuePosition);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.eGMBLPJGICMCase_ == TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.KPPFCHGDODL)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.KPPFCHGDODL);
			}
			if (this.eGMBLPJGICMCase_ == TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.LFCEFFHMLIG)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.LFCEFFHMLIG);
			}
			if (this.eGMBLPJGICMCase_ == TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.KIBAIMIKFED)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.KIBAIMIKFED);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E59B RID: 58779 RVA: 0x002663C8 File Offset: 0x002645C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainPartyHandlePendingActionScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.LFJLHJHPLGI)
			{
				this.LFJLHJHPLGI = other.LFJLHJHPLGI;
			}
			if (other.kILHOKNHHBD_ != null)
			{
				if (this.kILHOKNHHBD_ == null)
				{
					this.KILHOKNHHBD = new JNJKMBIGMPE();
				}
				this.KILHOKNHHBD.MergeFrom(other.KILHOKNHHBD);
			}
			if (other.QueuePosition != 0U)
			{
				this.QueuePosition = other.QueuePosition;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase egmblpjgicmcase = other.EGMBLPJGICMCase;
			if (egmblpjgicmcase != TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.LFCEFFHMLIG)
			{
				if (egmblpjgicmcase != TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.KIBAIMIKFED)
				{
					if (egmblpjgicmcase == TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.KPPFCHGDODL)
					{
						if (this.KPPFCHGDODL == null)
						{
							this.KPPFCHGDODL = new JIADKOFHHJM();
						}
						this.KPPFCHGDODL.MergeFrom(other.KPPFCHGDODL);
					}
				}
				else
				{
					if (this.KIBAIMIKFED == null)
					{
						this.KIBAIMIKFED = new CKCNEGHAMGM();
					}
					this.KIBAIMIKFED.MergeFrom(other.KIBAIMIKFED);
				}
			}
			else
			{
				if (this.LFCEFFHMLIG == null)
				{
					this.LFCEFFHMLIG = new JGNHFJAGHKA();
				}
				this.LFCEFFHMLIG.MergeFrom(other.LFCEFFHMLIG);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E59C RID: 58780 RVA: 0x002664E4 File Offset: 0x002646E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E59D RID: 58781 RVA: 0x002664F0 File Offset: 0x002646F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 48U)
				{
					if (num == 24U)
					{
						this.LFJLHJHPLGI = input.ReadBool();
						continue;
					}
					if (num == 32U)
					{
						this.QueuePosition = input.ReadUInt32();
						continue;
					}
					if (num == 48U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				else if (num <= 554U)
				{
					if (num == 106U)
					{
						if (this.kILHOKNHHBD_ == null)
						{
							this.KILHOKNHHBD = new JNJKMBIGMPE();
						}
						input.ReadMessage(this.KILHOKNHHBD);
						continue;
					}
					if (num == 554U)
					{
						JGNHFJAGHKA jgnhfjaghka = new JGNHFJAGHKA();
						if (this.eGMBLPJGICMCase_ == TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.LFCEFFHMLIG)
						{
							jgnhfjaghka.MergeFrom(this.LFCEFFHMLIG);
						}
						input.ReadMessage(jgnhfjaghka);
						this.LFCEFFHMLIG = jgnhfjaghka;
						continue;
					}
				}
				else
				{
					if (num == 2930U)
					{
						CKCNEGHAMGM ckcneghamgm = new CKCNEGHAMGM();
						if (this.eGMBLPJGICMCase_ == TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.KIBAIMIKFED)
						{
							ckcneghamgm.MergeFrom(this.KIBAIMIKFED);
						}
						input.ReadMessage(ckcneghamgm);
						this.KIBAIMIKFED = ckcneghamgm;
						continue;
					}
					if (num == 12050U)
					{
						JIADKOFHHJM jiadkofhhjm = new JIADKOFHHJM();
						if (this.eGMBLPJGICMCase_ == TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase.KPPFCHGDODL)
						{
							jiadkofhhjm.MergeFrom(this.KPPFCHGDODL);
						}
						input.ReadMessage(jiadkofhhjm);
						this.KPPFCHGDODL = jiadkofhhjm;
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005ACA RID: 23242
		private static readonly MessageParser<TrainPartyHandlePendingActionScRsp> _parser = new MessageParser<TrainPartyHandlePendingActionScRsp>(() => new TrainPartyHandlePendingActionScRsp());

		// Token: 0x04005ACB RID: 23243
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005ACC RID: 23244
		public const int LFJLHJHPLGIFieldNumber = 3;

		// Token: 0x04005ACD RID: 23245
		private bool lFJLHJHPLGI_;

		// Token: 0x04005ACE RID: 23246
		public const int KILHOKNHHBDFieldNumber = 13;

		// Token: 0x04005ACF RID: 23247
		private JNJKMBIGMPE kILHOKNHHBD_;

		// Token: 0x04005AD0 RID: 23248
		public const int QueuePositionFieldNumber = 4;

		// Token: 0x04005AD1 RID: 23249
		private uint queuePosition_;

		// Token: 0x04005AD2 RID: 23250
		public const int RetcodeFieldNumber = 6;

		// Token: 0x04005AD3 RID: 23251
		private uint retcode_;

		// Token: 0x04005AD4 RID: 23252
		public const int KPPFCHGDODLFieldNumber = 1506;

		// Token: 0x04005AD5 RID: 23253
		public const int LFCEFFHMLIGFieldNumber = 69;

		// Token: 0x04005AD6 RID: 23254
		public const int KIBAIMIKFEDFieldNumber = 366;

		// Token: 0x04005AD7 RID: 23255
		private object eGMBLPJGICM_;

		// Token: 0x04005AD8 RID: 23256
		private TrainPartyHandlePendingActionScRsp.EGMBLPJGICMOneofCase eGMBLPJGICMCase_;

		// Token: 0x02001ED1 RID: 7889
		public enum EGMBLPJGICMOneofCase
		{
			// Token: 0x04006A9D RID: 27293
			None,
			// Token: 0x04006A9E RID: 27294
			KPPFCHGDODL = 1506,
			// Token: 0x04006A9F RID: 27295
			LFCEFFHMLIG = 69,
			// Token: 0x04006AA0 RID: 27296
			KIBAIMIKFED = 366
		}
	}
}
